<?php echo $this->load->view('meta'); ?>
<link rel="stylesheet" href="<?=base_url()?>css/admin.css" type="text/css" media="screen" />

<link rel="stylesheet" href="<?=base_url()?>css/datepicker.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?=base_url()?>css/calendar.css" type="text/css" media="screen" />
<script src="<?=base_url();?>js/datepicker.js"></script>
<title>xa-ncsu | calendar</title>
<?php echo $this->load->view('header'); ?>
<?=$this->validation->error_string;?>

<?=form_open('calendar/createItem');?>
<fieldset>
	<legend><span>create an event item</span></legend>
	<ol>
		<li><label for="name">item</label>
			<input type="text" name="name" value="<?=$this->validation->name;?>" class="calendarform"/></li>
		<li><?=form_submit('','publish')?> <?=anchor('admin/events', 'Cancel');?></li>
		<?=form_hidden('event_id', $this->uri->segment(3))?>
	</ol>
</fieldset>
<?=form_close()?>
<?echo $this->load->view('footer')?>
